package com.example.yimai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.yimai.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from easybuy_user where loginName=#{loginName}")
    public User findByLoginName(String loginName);

}
